package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.Announcement;

import java.util.List;


public interface IAnnouncementService {

    boolean insert(Announcement announcement);

    List<Announcement> findByStateAndTypeGatherThanEqual(int state, int type);

    List<Announcement> findByStateAndType(int state, int type);

    Announcement getOne(int id);
}
